package com.world.lzh.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version 1.0
 * @Author lzh
 * @Date 2022/4/26 - 21:42
 **/
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/login")
    public void login() {
        System.out.println("此方法控制台会输出");
    }

    @GetMapping("/get")
    public void get() {
        System.out.println("此方法控制台不会输出");
    }
}
